package net.oschina.allchat.protocol.core.stanza.error;

import net.oschina.allchat.protocol.core.LangText;

public class Conflict extends StanzaError {
	public Conflict() {
		this(null);
	}
	
	public Conflict(String text) {
		this(text, null);
	}
	
	public Conflict(String text, String lang) {
		super(StanzaError.Type.CANCEL, "conflict", text == null ? null : new LangText(text, lang));
	}
}
